home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / Sources / src / Amiga / smakefiles / key_smakefile < prev    next >
Encoding:
Makefile  |  1996-09-27  |  1.5 KB  |  66 lines

  1. #Makefile for the amiga port of origami
  2. #Version 1.6.92.1
  3. #
  4. SC=             sc
  5. SLINK=          slink
  6. #
  7. #FLAGS1 : compiler options for compiler behaviour
  8. FLAGS1=         DATA=FAR ANSI NOICONS STRCON WARNVOIDRETURN IGNORE=104 STKEXT
  9. #
  10. #FLAGS2 : include options
  11. FLAGS2=         IDIR=origami:
  12. #
  13. #FLAGS3 : define options
  14. FLAGS3=         DEF=MOUSY DEF=KEYBIND DEF=AMIGA
  15. #
  16. #FLAGS4 : additional options
  17. #FLAGS4=         OPTIMIZE OptComp=0 OptInl OptInlocal Optsize
  18. #
  19. #DEBUG_FLAGS : define DEBUG for DEGUB usage
  20. #DEBUG_FLAGS=    DEBUG=symbolflush
  21. #DEB_LD_FLAGS=   ADDSYM
  22. #
  23. #FLAGS5 : link options for linker behaviour
  24. FLAGS5=         BATCH
  25. #
  26. #FLAGS6 : library options
  27. FLAGS6=         LIB LIB:sc.lib LIB LIB:amiga.lib LIB /lib/orilib.lib
  28.  
  29. SCFLAGS=        ResOpt $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) $(DEBUG_FLAGS)
  30. LDFLAGS=        $(FLAGS5) $(FLAGS6) $(DEB_LD_FLAGS)
  31.  
  32. .c.o:
  33.                 $(SC) $(SCFLAGS) $*
  34.  
  35. OBJS=           codehelp.o keybind.o keytab.o messages.o misc.o msgname.o \
  36.                 name.o optmac.o parseasm.o parsecond.o parsemac.o parser.o \
  37.                 scanner.o set.o /amiga/src/keyfileio.o
  38.  
  39. #{{{}}}
  40. #{{{  -> all
  41. all:            keybind
  42. #}}}
  43.  
  44. #{{{  keybind
  45. keybind:        $(OBJS)
  46.                 $(slink) <WITH <
  47.                 from lib:c.o+$(OBJS)
  48.                 to keybind $(LDFLAGS)
  49.                 <
  50. #}}}
  51.  
  52. #{{{  -> install
  53. install:
  54.                 copy keybind //bin
  55. #}}}
  56.  
  57. #{{{  -> reset
  58. reset:          clean
  59.                 -delete keybind smakefile
  60. #}}}
  61.  
  62. #{{{  -> clean
  63. clean:
  64.                 -delete \#?.o \#?.lnk \#?.tmp \#?.info
  65. #}}}
  66.